package com.gogant.spider.js;

public final class PageSetting {
	public boolean javascriptEnabled = true;
	public boolean loadImages = false;
	public boolean localToRemoteUrlAccessEnabled = true;
	public String userAgent = "Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:26.0) Gecko/20100101 Firefox/26.0";
	public String userName = "";
	public String password = "";
	public boolean XSSAuditingEnabled = false;
	public boolean webSecurityEnabled = false;
	public int resourceTimeout = 30000;

	public boolean isJavascriptEnabled() {
		return javascriptEnabled;
	}

	public void setJavascriptEnabled(boolean javascriptEnabled) {
		this.javascriptEnabled = javascriptEnabled;
	}

	public boolean isLoadImages() {
		return loadImages;
	}

	public void setLoadImages(boolean loadImages) {
		this.loadImages = loadImages;
	}

	public boolean isLocalToRemoteUrlAccessEnabled() {
		return localToRemoteUrlAccessEnabled;
	}

	public void setLocalToRemoteUrlAccessEnabled(boolean localToRemoteUrlAccessEnabled) {
		this.localToRemoteUrlAccessEnabled = localToRemoteUrlAccessEnabled;
	}

	public String getUserAgent() {
		return userAgent;
	}

	public void setUserAgent(String userAgent) {
		this.userAgent = userAgent;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public boolean isXSSAuditingEnabled() {
		return XSSAuditingEnabled;
	}

	public void setXSSAuditingEnabled(boolean xSSAuditingEnabled) {
		XSSAuditingEnabled = xSSAuditingEnabled;
	}

	public boolean isWebSecurityEnabled() {
		return webSecurityEnabled;
	}

	public void setWebSecurityEnabled(boolean webSecurityEnabled) {
		this.webSecurityEnabled = webSecurityEnabled;
	}

	public int getResourceTimeout() {
		return resourceTimeout;
	}

	public void setResourceTimeout(int resourceTimeout) {
		this.resourceTimeout = resourceTimeout;
	}
}
